<div class="leftpanelinner">    

    <div class="visible-xs hidden-sm hidden-md hidden-lg">   
        <div class="media userlogged">
            {image('photos/loggeduser.png')}
            <div class="media-body">
              <h4>{$this->session->userdata('username')}</h4>
              <span>""</span>
          </div>
        </div>

        <h5 class="sidebartitle actitle">{'account'|trans}</h5>
        <ul class="nav nav-pills nav-stacked nav-bracket mb30">
            <li><a href="{$ADMIN_URL}users/edit/{$this->session->userdata('user_id')}"><i class="fa fa-user"></i> <span>{'profile'|trans}</span></a></li>
            <li><a href="{$ADMIN_URL}logout"><i class="fa fa-sign-out"></i> <span>{'sign_out'|trans}</span></a></li>
        </ul>
    </div>
    <h5 class="sidebartitle">{'navigation'|trans}</h5>
    <ul class="nav nav-pills nav-stacked nav-bracket">
        {if $this->acl->has_permission('roles-view') || $this->acl->has_permission('permissions-view') || $this->acl->has_permission('auth-list_user') || $this->acl->has_permission('auth-list_group')}
            <li class="nav-parent"><a href="#"><i class="fa fa-users"></i> <span>{'user_manager'|trans}</span></a>
                <ul class="children">
                    {if $this->acl->has_permission('auth-list_group')}
                        <li><a href="{$ADMIN_URL}groups/view"><i class="fa fa-group"></i> {'group'|trans}</a></li>
                    {/if}
                    {if $this->acl->has_permission('roles-view')}
                        <li><a href="{$ADMIN_URL}roles/view"><i class="fa fa-ban"></i> {'role'|trans}</a></li>
                    {/if}
                    {if $this->acl->has_permission('permissions-view')}
                        <li><a href="{$ADMIN_URL}permissions/view"><i class="fa fa-eye-slash"></i> {'permission'|trans}</a></li>
                    {/if}
                    {if $this->acl->has_permission('auth-list_user')}
                        <li><a href="{$ADMIN_URL}users/view"><i class="fa fa-user"></i> {'user'|trans}</a></li>
                    {/if}
                </ul>
            </li>
        {/if}
        {if $this->acl->has_permission('section-view') || $this->acl->has_permission('catalogue-view') || $this->acl->has_permission('article-view')}
            <li class="nav-parent"><a href="#"><i class="fa fa-files-o"></i> <span>{'article_manager'|trans}</span></a>
                <ul class="children">
                    {if $this->acl->has_permission('section-view')}
                        <li><a href="{$ADMIN_URL}section/view"><i class="fa fa-list-alt"></i> {'section'|trans}</a></li>
                    {/if}
                    {if $this->acl->has_permission('catalogue-view')}
                        <li><a href="{$ADMIN_URL}catalogue/view"><i class="fa fa-list"></i> {'catalogue'|trans}</a></li>
                    {/if}
                    {if $this->acl->has_permission('article-view')}
                        <li><a href="{$ADMIN_URL}article/view"><i class="fa fa-file-text-o"></i> {'article'|trans}</a></li>
                    {/if}
                </ul>
            </li>
        {/if}
        {if $this->acl->has_permission('file_manager-view')}
        <li class="nav-parent"><a href="#"><i class="fa fa-film"></i> <span>{'media_manager'|trans}</span></a>
            <ul class="children">
                <li><a href="{$ADMIN_URL}file_manager/view"><i class="fa fa-folder-open"></i> {'file_manager'|trans}</a></li>
            </ul>
        </li>
        {/if}
        {if $this->acl->has_permission('language-view') || $this->acl->has_permission('translate-view') || $this->acl->has_permission('synce-view') || $this->acl->has_permission('seo-view') || $this->acl->has_permission('sitemap-view')}
        <li class="nav-parent"><a href="#"><i class="fa fa-globe"></i> <span>{'website_manager'|trans}</span></a>
            <ul class="children">
                {if $this->acl->has_permission('translate-view')}
                    <li><a href="{$ADMIN_URL}translate/view"><i class="fa fa-font"></i> {'translate'|trans}</a></li>
                {/if}
                {if $this->acl->has_permission('seo-view')}
                    <li><a href="{$ADMIN_URL}seo/view"><i class="fa fa-globe"></i> {'seo'|trans}</a></li>
                {/if}
            </ul>
        </li>
        {/if}
        {if $this->acl->has_permission('setting-view')}
        <li class="nav-parent"><a href="#"><i class="fa fa-wrench"></i> <span>{'configuration'|trans}</span></a>
            <ul class="children">
                <li><a href="{$ADMIN_URL}setting/view"><i class="fa fa-caret-right"></i> {'setting'|trans}</a></li>
            </ul>
        </li>
        {/if}
    </ul>

</div><!-- leftpanelinner -->